from httpx import Client

# https://github.com/chatanywhere/GPT_API_free
# base_url = 'https://api.chatanywhere.tech'  # (国内中转，延时更低，host1和host2二选一)
base_url = 'https://api.chatanywhere.com.cn'  # (国内中转，延时更低，host1和host2二选一)
# base_url = 'https://api.chatanywhere.cn' # (国外使用,国内需要全局代理)
model_name = 'gpt-3.5-turbo'
api_key = ''
file_output_dir = r''
version = ''

http_client = None

for item in [model_name, api_key, file_output_dir, version]:
    assert item != '' and item is not None, f'{__file__} not configured!,please check the value of model_name, api_key, file_output_dir, version'
